﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SportStore.DomainModel.Abstract;
using  SportStore.DomainModel.Entities;

namespace SportStore.DomainModel.Concrete
{
    public class FakeProductsRepository : IProductsRepository
    {
        private static IQueryable<Product> fakeProducts = new List<Product>
                                                              {
                                                                  new Product() {Name = "Football", Price = 25},
                                                                  new Product() {Name = "Surf board", Price = 179},
                                                                  new Product() {Name = "Running shoes", Price = 95}
                                                              }.AsQueryable();
        public IQueryable<Product> Products
        {
            get { return fakeProducts; }
        }


        public void SaveProduct(Product product)
        {
            throw new NotImplementedException();
        }


        public void DeleteProduct(Product product)
        {
            throw new NotImplementedException();
        }
    }
}
